﻿import MatchControlModuleS from "./MatchControlModuleS";
import MatchEndConfirmUI from "./MatchEndConfirmUI";
import MatchEndControlsUI from "./MatchEndControlsUI";

export default class MatchControlModuleC extends ModuleC<MatchControlModuleS, null> {

    private chooseUI: MatchEndControlsUI;

    /** 当脚本被实例后，会在第一帧更新前调用此函数 */
    protected onStart(): void {
        this.chooseUI = UIService.show(MatchEndControlsUI);

    }
    public teleport(userId:string){
        this.server.net_teleport(userId);
    }

}